const path = require('path')

module.exports = {
    base: "/ui/",
    title: 'Moyv UI',
    description: '一个基于 Vue2 的 组件库',
    head: [
        ['link', { rel: 'icon', href: '/images/favicon.ico' }],
        ['link', { rel: 'stylesheet', href: '/styles/index.css' }],
        ['link', { rel: 'stylesheet', href: '/styles/moyv-ui.css' }]
    ],
    themeConfig: {
        nav: [
            { text: '主页', link: '/' },
            { text: '文档', link: '/introduction/' },
            { text: 'gitee', link: 'https://gitee.com/CoderMoyv/moyv-ui-dev' },
        ],
        sidebar: [
            {
                title: '入门',
                collapsable: false,
                children: [
                    '/introduction',
                    '/installation',
                ]
            },
            {
                title: '组件',
                collapsable: false,
                children: [
                    '/components/button',
                    '/components/carousel',
                    '/components/collapse',
                    '/components/input',
                    '/components/modal',
                    '/components/numberAnimation',
                    '/components/popover',
                    '/components/scrollbar',
                    '/components/select',
                    '/components/switch',
                    '/components/toast',
                    '/components/tabs',
                ]
            },

        ]
    }
}